Fix bug #9254 with crash and cursor positioning under longlines-mode.
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Aug 2011 10:59:36 +0000 (13:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Aug 2011 10:59:36 +0000 (13:59 +0300)
commit2873a07521c1043ad60eaa988ce698004738d05a
tree8f84feb7936f54c597527fb0babd611f2bcafb11
parent9e434ab4711570d011f04b9f1a5ae24a6cb217ba
Fix bug #9254 with crash and cursor positioning under longlines-mode.

 src/xdisp.c (set_cursor_from_row): Fix cursor positioning when a
 display property strides EOL and includes a newline, as in
 longlines-mode.
 src/bidi.c (bidi_unshelve_cache): Don't reset the cache if JUST_FREE
 is non-zero, even if the data buffer is NULL.  Fixes a crash in
 vertical-motion with longlines-mode.
src/ChangeLog
src/bidi.c
src/xdisp.c